<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="${packageName}.dao.mapper.${moduleName}.${entity_name}Mapper">
	<resultMap type="${packageName}.dao.entity.${moduleName}.${entity_name}" id="${entity_name_low}ResultMap">
	<#list beans as bean>
	  <#if bean.propertyName == bean.keyName>
		<id column="${bean.filedName}" property="${bean.propertyName}" />
	  <#else>
	    <result column="${bean.filedName}" property="${bean.propertyName}" />
	  </#if>
	</#list>
	</resultMap>
</mapper>